export default defineAppConfig({
    pages: [
        'pages/index/index',
        'pages/product/index',
        'pages/order/index',
        'pages/mine/index',

        'pages/product/detail/index',
        'pages/product/search/index',
        'pages/product/cart/index',

        'pages/order/confirm/index',
        'pages/order/detail/index',
        'pages/order/result/index',

        'pages/mine/setting/index',
        'pages/mine/login/index'
    ],
    window: {
        // backgroundColor: '#000',
        backgroundTextStyle: 'light',
        navigationBarBackgroundColor: '#FFFFFF',
        navigationBarTitleText: 'WeChat',
        navigationBarTextStyle: 'black'
    },
    tabBar: {
        selectedColor: '#2c2c2c',
        color: '#bfbfbf',
        backgroundColor: '#FFFFFF',
        borderStyle: 'white',
        list: [
            {
                pagePath: 'pages/index/index',
                text: '首页',
                iconPath: './public/index_gray.png',
                selectedIconPath: './public/index.png'
            },
            {
                pagePath: 'pages/product/index',
                text: '商品',
                iconPath: './public/product_gray.png',
                selectedIconPath: './public/product.png'
            },
            {
                pagePath: 'pages/order/index',
                text: '订单',
                iconPath: './public/order_gray.png',
                selectedIconPath: './public/order.png'
            },
            {
                pagePath: 'pages/mine/index',
                text: '我的',
                iconPath: './public/mine_gray.png',
                selectedIconPath: './public/mine.png'
            }
        ]
    }
})
